<%--
  Created by IntelliJ IDEA.
  User: xiaomi
  Date: 2021/12/28
  Time: 21:35
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>MenuList</title>
</head>
<body>
   <h1>menu.jsp</h1>
   <table border="1" cellspacing="0" width="300">
       <tr>
           <td>菜单id</td>
           <td>模块</td>
           <td>操作</td>
       </tr>
<c:forEach items="${menulist}" var="m">
       <tr>
           <td>${m.menuId}</td>
           <td>${m.menuName}</td>
           <td><a href="/menuservlet?key=delete&mid=${m.menuId}">删除</a>
               <a href="/menuservlet?key=selectbyid&mid=${m.menuId}">修改</a> </td>
       </tr>
</c:forEach>
   </table>
</body>
</html>
